package Tset1;

public class Staff extends Employee {
        private String duty;

    public Staff() {
        }
    public Staff(String name, String address, String telPhone, String email, String office, double salary, String hireDate, String duty) {
            super(name, address, telPhone, email, office, salary, hireDate);
            this.duty = duty;
        }

        public String duty() {
            return duty;
        }
        public void duty(String duty) {
            this.duty = duty;
        }
}
